package com.cetc.sdp.kmga.cs.schema;

import com.cetc.sdp.kmga.cs.common.TableMapping;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author： DengQiang
 * @date: 2017/9/19 13:47
 */
public interface SchemaDesc extends Serializable {

    List<TableMapping.Column> getColumns();

    int getColumnIdx(String columnName);

    /**
     * 通过索引获得Column
     * @param columnIdx
     * @return
     */
    TableMapping.Column getColumnByIndex(int columnIdx);
}
